/*
 * @Descripttion: 
 * @version: 
 * @Author: sueRimn
 * @Date: 2021-09-03 14:10:06
 * @LastEditors: sueRimn
 * @LastEditTime: 2021-09-03 14:10:06
 */
'use strict';
module.exports = app => {
  return async (ctx, next) => {
    ctx.socket.emit('res', 'packet received!');
    console.log('packet:', ctx.packet);
    await next();
  };
};
